﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
  <class name="FastSpring.Core.Model.Adapters,FastSpring.Net.Core" table="Sys_Adapters" lazy="false">
    <id name="ID" column="ID" type="Int32">
      <generator class="native" />
    </id>
    <property name="AdapterType" column="AdapterType"/>
    <property name="AdapterName" column="AdapterName"/>
    <property name="HQL" column="HQL"/>
    <property name="Description" column="Description"/>
    <property name="IsRemoveEmptyStrings" column="IsRemoveEmptyStrings"/>
    <property name="IsActive" column="IsActive"/>
  </class>
  <query name="GetAllAdapters">
    <![CDATA[from Adapters adapters Where adapters.IsActive=1 ORDER BY adapters.AdapterType]]>
  </query>
</hibernate-mapping>

